package com.spring.schedule_system.dengxiaojiao.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.spring.schedule_system.dengxiaojiao.request.DeliverySetDomainIn;
import com.spring.schedule_system.dengxiaojiao.request.DeliverySetDomainOut;
import com.spring.schedule_system.dengxiaojiao.request.VenDbDeliverySet;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;


/***********************************************************************************************************************
* <p>
    * 预交车天数设置 mapper层
    * </p>
* @author        ly-dengxiaojiao
* @date          2023-03-26
* @version       V1.0
**********************************************************************************************************************/
@Repository
public interface VenDbDeliverySetMapper extends BaseMapper<VenDbDeliverySet> {

    int addVenDbCarDeliveryDaySetSave(@Param("param") List<VenDbDeliverySet> venDbDeliverySetList);

    int updateVenDbCarDeliveryDaySetSave(@Param("param") List<VenDbDeliverySet> venDbDeliverySetList);

    public List<DeliverySetDomainOut> venDbCarDeliveryDaySetQuery(IPage<DeliverySetDomainOut> ipage, @Param("param") DeliverySetDomainIn deliverySetDomainIn);

    public Integer venDbCarDeliveryDaySetQueryCount( @Param("param") DeliverySetDomainIn deliverySetDomainIn);

    int deleteDeliverSetBatch(@Param("param") List<String> setIds);


}
